#!/bin/bash

echo "$( 

echo "<html> <body>";
echo "<table border=1>"

ls DB/ABILITA/ | grep -ve "^__.*$" | while read A; do
echo "<tr>"

echo "<td>"
echo "<b>"
echo "$(cat "./DB/ABILITA/$A/name")"

echo "($(cat "./DB/ABILITA/$A/costo"))"
echo "</b>"
echo "</td>"

echo "<td>"
echo "$(cat "./DB/ABILITA/$A/descrizione")";
echo "</td>"


echo "</tr>"

done 

echo "</table>"
echo "</body> </html>"

)" > test.html